package com.ruoyi.project.WebMoudle.belongBank.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 绑定银行卡对象 belong_bank
 * 
 * @author ruoyi
 * @date 2020-07-18
 */
public class BelongBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 角色id */
    @Excel(name = "角色id")
    private Long belongId;

    /** 归属类型(0-用户,1-商家) */
    @Excel(name = "归属类型(0-用户,1-商家)")
    private String belongType;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankNum;
    private String bankName;

    /** 开户行id */
    @Excel(name = "开户行id")
    private String bankCode;

    /** 开户名 */
    @Excel(name = "开户名")
    private String accountName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBelongId(Long belongId) 
    {
        this.belongId = belongId;
    }

    public Long getBelongId() 
    {
        return belongId;
    }
    public void setBelongType(String belongType) 
    {
        this.belongType = belongType;
    }

    public String getBelongType() 
    {
        return belongType;
    }
    public void setBankNum(String bankNum) 
    {
        this.bankNum = bankNum;
    }

    public String getBankNum() 
    {
        return bankNum;
    }
    public void setBankCode(String bankCode) 
    {
        this.bankCode = bankCode;
    }

    public String getBankCode() 
    {
        return bankCode;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("belongId", getBelongId())
            .append("belongType", getBelongType())
            .append("bankNum", getBankNum())
            .append("bankCode", getBankCode())
            .append("accountName", getAccountName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
